﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTO
{
    public class AccountDTO
    {
        private int _AccountID;

        public int AccountID
        {
            get { return _AccountID; }
            set { _AccountID = value; }
        }
        private string _Username;

        public string Username
        {
            get { return _Username; }
            set { _Username = value; }
        }
        private string _Password;

        public string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }
        private string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        private string _Phone;

        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }
        private int _Type;

        public int Type
        {
            get { return _Type; }
            set { _Type = value; }
        }
        public AccountDTO(int accountid, string username, string password, string name, string phone, int type)
        {
            _AccountID = accountid;
            _Username = username;
            _Password = password;
            _Name = name;
            _Phone = phone;
            _Type = type;
        }

        public AccountDTO()
        {
            _Name = "";
        }
    }
}
